{% extends 'eform_base.html' %}
{% load static %}

{% block title %}
    <title>Delete Eform</title>
{% endblock title %}
    
{% block body %}
<div class="p-3 m-3" style="background:rgba(255,255,255,0.7); border-radius: 10px;">
    <form action="{% url 'eform:deleteSchemaBuilder' es.pk %}" method="POST">
        {% csrf_token %}
        CONFIRM TO DELETE FORM NO.: <strong>{{es.formNo}} - {{es.title}}</strong> ?
        <a type="button" class="btn btn-light p-2 m-2" href="{% url 'eform:list' %}">CANCEL</a>
        <button type="submit" class="btn btn-warning p-2 m-2">CONFIRM</button>
        {% comment %} <button type="submit" class="btn btn-warning" name="copyschemaform">COPY</button> {% endcomment %}
    </form>

    {% if err_msg %}
    <div class="alert alert-danger">
        {{err_msg}}
    </div>
    {% endif %}
</div>
{% endblock body %}


{% block script %}
{% endblock script %}
